home *** CD-ROM | disk | FTP | other *** search
/ Shareware Super Platinum 8 / Shareware Super Platinum 8.iso / mac / WIN_PRO / WINDOW.ZIP;1 / WINDOW.DOC < prev    next >
Encoding:
Text File  |  1990-05-19  |  11.4 KB  |  242 lines

  1.                                WINDOW.EXE v1.0
  2.                               By: Mike Wheaton
  3.                                 Documentation
  4.  
  5. Date: 05-19-1990
  6.  
  7. DESCRIPTION:
  8.       WINDOW.EXE was designed as a batch file WINDOWing program to add a
  9.    little pazzaz to your batch files.  The program easily allows the user
  10.    to create pop-up windows within a batch file for displaying messages as
  11.    to what is being performed, and why, etc...
  12.       WINDOW also has MANY options available, including, saving and
  13.    restoring previous screens, Exploding (growing) windows, automatic
  14.    shadowing, clear screen, displaying text, and user defined colors for
  15.    any window.
  16.       This program performs it's best, when running on a 80286 machine, with
  17.    EGA or VGA graphics, but WILL run on ANY true IBM compatible machine with
  18.    ANY monitor configuration.
  19.  
  20. WARRANTY &
  21. DISCLAIMER:
  22.       The author makes NO warranties, expressed or implied, as to the quality
  23.    or performance of this program.  The author will NOT be held liable for any
  24.    direct, indirect, incidental, or consequential damage resulting from the
  25.    use of this program.  Your use of this program, constitutes your agreement
  26.    to this disclaimer and your release of the author from any form of
  27.    liability or litigation.
  28.  
  29. USE:
  30.       The file WINDOW.EXE should be copied to any directory within your path.
  31.    This will make the window program fully accessable from any drive or
  32.    directory.
  33.    See your DOS manual for information on PATH.
  34.       The proper syntax to run window, is as follows;
  35.  
  36.    WINDOW 5, 8, 20, 60, 14, 1, cls, explode, shadow
  37.                                      
  38.           ≥  ≥  ≥   ≥   ≥   ≥   ≥   ≥        ≥
  39.           ≥  ≥  ≥   ≥   ≥   ≥   ≥   ≥        ¿ƒ Automatic shadows. If not used
  40.           ≥  ≥  ≥   ≥   ≥   ≥   ≥   ≥           it may be left blank.
  41.           ≥  ≥  ≥   ≥   ≥   ≥   ≥   ≥    
  42.           ≥  ≥  ≥   ≥   ≥   ≥   ≥   ¿ƒ Creates an Exploding (growing) window.
  43.           ≥  ≥  ≥   ≥   ≥   ≥   ≥      If not used, you MUST use "" as a
  44.           ≥  ≥  ≥   ≥   ≥   ≥   ≥      place holder.
  45.           ≥  ≥  ≥   ≥   ≥   ≥   ≥
  46.           ≥  ≥  ≥   ≥   ≥   ≥   ¿ƒ This will Clear the screen before displaying
  47.           ≥  ≥  ≥   ≥   ≥   ≥      the window. If not used, you MUST use "" as
  48.           ≥  ≥  ≥   ≥   ≥   ≥      a place holder.
  49.           ≥  ≥  ≥   ≥   ≥   ≥
  50.           ≥  ≥  ≥   ≥   ≥   ¿ƒ Background color. Valid responses are 0-7.
  51.           ≥  ≥  ≥   ≥   ≥      See color chart below.
  52.           ≥  ≥  ≥   ≥   ≥
  53.           ≥  ≥  ≥   ≥   ¿ƒ Border color. Valid responses are 0-15. Colors
  54.           ≥  ≥  ≥   ≥      16-31 will produce a blinking border.
  55.           ≥  ≥  ≥   ≥      See color chart below.
  56.           ≥  ≥  ≥   ≥
  57.           ≥  ≥  ≥   ¿ƒ Ending X coordinate (column) for text to be displayed.
  58.           ≥  ≥  ≥      Valid responses are 2-80 without shadow, or 4-80 with.
  59.           ≥  ≥  ≥      This value MUST be at lease 2 greater than Starting X.
  60.           ≥  ≥  ≥
  61.           ≥  ≥  ¿ƒ Ending Y coordinate (row) for text to be displayed.
  62.           ≥  ≥     Valid responses are 2-25 without shadow, or 2-24 with.
  63.           ≥  ≥     This value MUST be at least 2 greater than Starting Y.
  64.           ≥  ≥
  65.           ≥  ¿ƒ Starting X coordinate (column) for text to be displayed.
  66.           ≥     Valid responses are 2-78 without shadow, or 4-78 with.
  67.           ≥
  68.           ¿ƒ Starting Y coordinate (row) for text to be displayed.
  69.              Valid responses are 2-23 without shadow, or 2-22 with.
  70.  
  71.       The Starting Y coordinate determines the mode of operation for the
  72.    WINDOW program.
  73.    Valid responses are as follows;
  74.  
  75.       ##           = Produce a window as stated above.
  76.       text         = Used to display text in the window.
  77.                      See DISPLAYING TEXT below.
  78.       pause        = Used to wait for keyboard input, or ## secs.
  79.                      to pause for a specific # of seconds and continue without
  80.                      user response, the # of seconds should be placed in the
  81.                      Starting X coodinate.
  82.                      See PAUSEing below.
  83.       save         = Used to save the current screen before displaying another
  84.                      window.
  85.                      See SAVING THE CURRENT SCREEN below.
  86.       restore      = Used to restore a previously saved screen.
  87.                      See RESTORING SCREENS below.
  88.       filename.ext = You may create a data file for the window program
  89.                      to use. This GREATLY increases the speed at which
  90.                      the window program executes your commands.
  91.                      This should be a simple text file, created with any
  92.                      word processor capable of saving ASCII files, and should
  93.                      contain all of the information normally passed to
  94.                      the window program. eg...
  95.  
  96.                      6,19,10,60,14,1,cls,explode,shadow
  97.                      text,7,22,11,1,Welcome the the ULTIMATE batch file
  98.                      text,8,22,11,1,WINDOW program!
  99.                      text,9,22,15,1,5 Second Delay.  Please Wait...
  100.                      pause,5
  101.  
  102.                      NOTE: You do not include the program name WINDOW, within
  103.                            the data file. This is because you are already
  104.                            running the window program when it loads your data.
  105.  
  106. DISPLAYING TEXT:
  107.       Text may be placed anywhere on the screen with WINDOW, and in any color.
  108.    The syntax for using WINDOW to display text is as follows;
  109.  
  110.    WINDOW text, 8, 20, 14, 1, Text to display
  111.                          
  112.           ≥     ≥  ≥   ≥   ≥  ≥
  113.           ≥     ≥  ≥   ≥   ≥  ¿ƒ Any Text as you want it to appear.
  114.           ≥     ≥  ≥   ≥   ≥
  115.           ≥     ≥  ≥   ≥   ¿ƒ Background color. Valid responses are 0-7.
  116.           ≥     ≥  ≥   ≥      This should match the Background color of the
  117.           ≥     ≥  ≥   ≥      window.
  118.           ≥     ≥  ≥   ≥
  119.           ≥     ≥  ≥   ¿ƒ Foreground color. Valid responses are 0-15. Colors
  120.           ≥     ≥  ≥      16-31 will produce a blinking text.
  121.           ≥     ≥  ≥
  122.           ≥     ≥  ¿ƒ X coordinate (column) for text to be displayed.
  123.           ≥     ≥     Valid responses are 1-80.
  124.           ≥     ≥
  125.           ≥     ¿ƒ Y coordinate (row) for text to be displayed.
  126.           ≥        Valid responses are 1-25.
  127.           ≥
  128.           ¿ƒ This is simply the word "text". (case is un-important)
  129.              It is used to tell the WINDOW program you want to display text
  130.              as apposed to drawing a window.
  131.   
  132. PAUSEing:
  133.       If you are using a data file for creating displays, this may be used
  134.    to pause for user input, or you may elect to pause for 5 seconds and then
  135.    continue without waiting for a response. This is useful when designing
  136.    self-running demos.
  137.       The syntax for using WINDOW to pause for input is as follows;
  138.  
  139.    WINDOW pause, 8
  140.                 
  141.           ≥      ≥
  142.           ≥      ≥
  143.           ≥      ¿ƒ Used for the # of seconds to pause.  Leave this off
  144.           ≥         if you desire user input to continue.
  145.           ≥
  146.           ¿ƒ This is simply the word "pause". (case is un-important)
  147.              It is used to tell the WINDOW program you want to pause, and
  148.              wait for user input, or a specific # of seconds.
  149.  
  150. SAVING THE CURRENT SCREEN:
  151.       Any screen may be SAVED and then restored at a later time, which allows
  152.    for a TRUE WINDOWing effect. All screens SAVED, are saved to disk, so this
  153.    may be slow on a floppy system. Each screen requires 4K of disk space.
  154.    This does, however, allow for a lot of posibilities. Multiple screens may
  155.    be saved at one time, and then restored in any order.  Or you may elect to
  156.    wait and RESTORE a screen TOMORROW!
  157.       The syntax for using WINDOW to SAVE the current screen is as follows;
  158.  
  159.    WINDOW save, 1
  160.                
  161.           ≥     ¿ƒ This is an optional # of the screen to save. You may save
  162.           ≥        as many as 10 screens. If this number is left blank, WINDOW
  163.           ≥        will assume you are saving screen #1.
  164.           ≥        This option is handy if you are displaying several screens
  165.           ≥        and then backing up through them.
  166.           ≥
  167.           ¿ƒ This is simply the word "save". (case is un-important)
  168.              It is used to tell the WINDOW program you want to save a screen.
  169.  
  170. RESTORING SCREENS:
  171.       Any previously SAVED screen may be easily RESTORED. You may produce a
  172.    TRUE WINDOWing effect by displaying a window, saving the screen, displaying
  173.    another window over it, and then restoring the previously saved screen. As
  174.    a screen is RESTORED, it's disk file is deleted.
  175.       The syntax for using WINDOW to RESTORE a screen is as follows;
  176.  
  177.    WINDOW restore, 1
  178.                   
  179.           ≥        ¿ƒ This is an optional # of the screen to restore. If a
  180.           ≥           screen was saved with a number other than 1, you MUST
  181.           ≥           include the number of the screen to restore here.
  182.           ≥
  183.           ¿ƒ This is simply the word "restore". (case is un-important)
  184.              Used to tell the WINDOW program you want to restore a screen.
  185.  
  186. USING A DATA FILE:
  187.       WINDOW will read in a data file that you have created and execute the
  188.    commands with MUCH GREATER SPEED than running the WINDOW program for each
  189.    window displayed.  This is ONLY usefull if you are executing several
  190.    WINDOW commands in a row.
  191.       The syntax for telling WINDOW to use a data file is as follows;
  192.  
  193.    WINDOW filename.ext
  194.           
  195.           ¿ƒ This is the file name of the data file for WINDOW to load.
  196.              If you do not use an extension on the filename, you MUST still
  197.              use the period after the filename here.
  198.              For an example of a WINDOW data file, see the sample WIND.DAT.
  199.  
  200. ------------------------------------------------------------------------------
  201. COLOR CHART:
  202.       The following is a color chart for the border, text, and background
  203.    colors used by the WINDOW program;
  204.  
  205.       BORDER & TEXT:
  206.          0 = Black                       8 = Grey
  207.          1 = Blue                        9 = Bright Blue
  208.          2 = Green                      10 = Bright Green
  209.          3 = Cyan                       11 = Bright Cyan
  210.          4 = Red                        12 = Bright Red
  211.          5 = Magenta                    13 = Bright Magenta
  212.          6 = Brown                      14 = Yellow
  213.          7 = White                      15 = Bright White
  214.  
  215.       By adding 16 to any of the above numbers, causes that color to blink.
  216.  
  217.       BACKGROUND:
  218.          0 = Black
  219.          1 = Blue
  220.          2 = Green
  221.          3 = Cyan
  222.          4 = Red
  223.          5 = Magenta
  224.          6 = Brown
  225.          7 = White
  226.   
  227.       Any Background above 7 will cause the text or border to blink.
  228. ------------------------------------------------------------------------------
  229.  
  230.       This Program is brought to you by Mike Wheaton.
  231.    WINDOW.EXE has been released to Public Domain on 5-19-1990.
  232.    The Author requires NO registration fee or donations. Use it and enjoy.
  233.    If you have any suggestions for improvement, bug notifications, etc, please
  234.    address them to;
  235.                             Mike Wheaton
  236.                             211 Seventh Ave.
  237.                             Mansfield, OH  44905
  238.  
  239.    You may also call The DK Jet-Works BBS and leave a message for the SysOp.
  240.    Supporting 300-2400 Baud. 24 Hours a day. (419) 524-3959
  241.  
  242.